package com.example.boot.bean.bean1;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_learning_feed")
public class LearningFeed {
    private int id;
    @TableField(value = "authorID")
    private int authorId;
    private String text;
    private String type;
    @TableField(value = "likeCount")
    private int likeCount;
    @TableField(value = "replyCount")
    private int replyCount;
    @TableField(value = "postTime")
    private Date postTime;
    @TableField(value = "categoryID")
    private int categoryId;

}
